Carbon


AreFloatingWindowsVisible

Header: MacWindows.h Carbon status: Supported

Indicates whether an application’s floating windows are currently visible.

Boolean AreFloatingWindowsVisible ();
function result

true if the application’s floating windows are currently shown. false if the application’s floating windows are currently hidden, or if the function InitFloatingWindows has not been called prior to a call to AreFloatingWindowsVisible.

DISCUSSION

When your application receives a suspend event, it must hide any visible floating windows. When your application receives a resume event, it must make its floating windows visible again. If your application needs to check which visibility state its floating windows are in, it may call the AreFloatingWindowsVisible function.

SPECIAL CONSIDERATIONS

You should call the function InitFloatingWindows prior to calling AreFloatingWindowsVisible.

The AreFloatingWindowsVisible function operates only upon windows created with the kFloatingWindowClass constant; see “Window Class Constants” for more details on this constant.

VERSION NOTES

This function is supported with Mac OS 8.6 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)